Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPLT-1129 Publish unprocessed stream messages count to Grafana #169

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

morgsmccauley
Copy link
Collaborator

@morgsmccauley morgsmccauley commented Aug 8, 2023

The unprocessed stream message count is retrieved by getting the 'last processed ID', which is published by Runner, and then calculating the remaining messages. This is currently done in Coordinator, as it's already hooked up to Prometheus/Grafana, but I might end up moving it to Runner once that's connected.

@morgsmccauley morgsmccauley requested a review from a team as a code owner August 8, 2023 02:20
.await
.unwrap_or(Vec::new());

for stream in streams {
Copy link
Collaborator Author

@morgsmccauley morgsmccauley Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redis is single threaded so not a whole lot of benefit doing this work in parallel

@morgsmccauley morgsmccauley force-pushed the DPLT-1129-publish-indexer-metrics-to-grafana branch from 1074207 to 90d8cde Compare August 8, 2023 02:27
@morgsmccauley morgsmccauley merged commit 54ee547 into main Aug 8, 2023
@morgsmccauley morgsmccauley deleted the DPLT-1129-publish-indexer-metrics-to-grafana branch August 8, 2023 02:34
morgsmccauley added a commit that referenced this pull request Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant